<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"/>
    <title>SecurityTokenService</title>
    <link rel="icon" type="image/x-icon" href="favicon.ico"/>
    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>

    <link rel="stylesheet" href="lib/bootstrap/dist/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="css/site.min.css"/>
    <style>
        input.error {
            border: 1px solid red;
        }

        label.error {
            padding-top: 5px;
            color: #EA5200;
        }

        .tab-content {
            padding-top: 15px;
        }
    </style>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="/">
                    <span class="navbar-brand">
                        <img src="" class="icon-banner" alt="">
                        SecurityTokenService
                    </span>
            </a>
        </div>
    </div>
</div>

<div class="container body-container">
    <div class="login-page">
        <div class="lead">
            <h1>Login</h1>
            <p>Choose how to login</p>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <ul id="localAccountTab" class="nav nav-tabs">
                    <li class="active">
                        <a href="#localAccount" data-toggle="tab">
                            Local Account
                        </a>
                    </li>
                    <li><a href="#sms" data-toggle="tab">SMS</a></li>
                </ul>
                <div class="tab-content">
                    <div class="alert alert-danger" id="message" style="display: none"></div>
                    <div class="tab-pane fade in active" id="localAccount">
                        <form id="form" onsubmit="return false">
                            <div class="form-group">
                                <label for="userName">Username</label>
                                <input class="form-control" placeholder="Username" autofocus type="text"
                                       id="userName"
                                       name="userName"
                                       value=""/>
                            </div>
                            <div class="form-group">
                                <label for="password">Password</label>
                                <input type="password" class="form-control" placeholder="Password"
                                       autocomplete="off"
                                       id="password"
                                       name="password"/>
                            </div>
                            <div class="form-group">
                                <div class="form-check">
                                    <input class="form-check-input" type="checkbox" value="true"
                                           id="rememberLogin"
                                           name="rememberLogin"/>
                                    <label for="rememberLogin" class="form-check-label">
                                        Remember My Login
                                    </label>
                                </div>
                            </div>
                            <button class="btn btn-primary" name="button" id="loginButton" value="login">Login
                            </button>
                            <button class="btn btn-secondary" name="button" value="cancel">Cancel</button>
                        </form>
                    </div>
                    <div class="tab-pane fade" id="sms">
                        <form id="smsForm" class="form" onsubmit="return false">
                            <div class="form-group">
                                <label for="phoneNumber">PhoneNumber</label>
                                <input class="form-control" placeholder="PhoneNumber" autofocus type="text"
                                       id="phoneNumber"
                                       name="phoneNumber"
                                       value=""/>
                                <button class="btn btn-primary" name="button" id="sendSmsBtn"
                                        data-container="body" data-toggle="popover" data-placement="right"
                                        data-content="发送成功">Send SMS
                                </button>
                            </div>
                            <div class="form-group">
                                <label for="verifyCode">VerifyCode</label>
                                <input type="text" class="form-control" placeholder="VerifyCode"
                                       autocomplete="off"
                                       id="verifyCode"
                                       name="verifyCode"/>

                            </div>
                            <button class="btn btn-primary" name="button" id="smsLoginBtn" value="login">Login</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="lib/jquery/dist/jquery.min.js"></script>
<script src="lib/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="lib/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="js/site.js?_v=2023031208"></script>
</body>
</html>
